package org.example.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author: LiFuqiang
 * @Date: 2020/10/12 13:20
 * @Version 1.0
 * @description
 */
@Data
@Table(name = "url_role")
@Entity
public class UrlRole {
    @Id
    private int id;
    @Column(name = "mid")
    private int urlID;
    @Column(name = "rid")
    private int roleID;
}
